package org.harlov.testsys;

import java.security.NoSuchAlgorithmException;
import java.sql.SQLException;

import org.harlov.testsys.db.ans_log;
import org.harlov.testsys.db.db_main;
import org.harlov.testsys.db.diffs;
import org.harlov.testsys.db.quests;
import org.harlov.testsys.db.test_loger;
import org.harlov.testsys.db.tests;
import org.harlov.testsys.db.themes;
import org.harlov.testsys.db.users;
import org.harlov.testsys.views.main_form;
public class main {

        /**
         * @param args
         * @throws SQLException
         * @throws ClassNotFoundException
         * @throws NoSuchAlgorithmException
         */
        public static void main(String[] args) throws SQLException, ClassNotFoundException {

                db_main DB = new db_main();
                System.out.println(DB.getMd5("harlov"));
                users studs = new users(DB);
                themes thems = new themes(DB);
                diffs difs = new diffs(DB);
                tests _tests = new tests(DB);
                quests _quests = new quests(DB);

                test_loger _loger = new test_loger(DB);
                ans_log _ans_log = new ans_log(DB);
                main_form mForm = new main_form();
                mForm.setVisible(true);

        }

}